package tt.dz.appserver.entity.model.push;

import java.io.Serializable;
import java.util.Date;

import tt.dz.appserver.util.annotation.PrimaryKey;
import tt.dz.appserver.util.annotation.Table;

@Table(name="as_pub_push_message")
public class PushMessage  implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@PrimaryKey
	private String push_id;  //推送id
	private String title;    //推送标题
	private String content;		//推送内容
	private Date  edit_date;	//消息编写时间
	private Date  push_date;	//推送时间
	private Integer	state;			//消息状态1及时推送 2草稿 3延时推送
	private Date delay_date;	//延时推送时间
	private Integer message_type;	//推送消息类型 1.普通消息推送；2系统更新推送；3活动推送等
	private Integer scope;			//推送消息范围 1.所有用户2.所有在线用户；3.注册3个月用户；4.其他自定义条件用户（定义后面3个用户字段限定）；
	private Date reg_start_date;//注册时间 默认第一个用户注册时间
	private Date reg_end_date;	//截至注册时间 默认最后一个注册时间
	private Integer	account_sex;	//用户性别  1.全部2男 3女
	private String push_user_id;//推送操作员  
	private String	push_operator;	//推送用户范围 1.电桩用户2.所以运营商3华体用户
	private String sys_code;	//送系统端 1.所有用户端；2.app端3微信端
	private Integer	valid_flag;		//是否有效   1有效
	private Integer	is_push;		//是否已推送  1.已推送
	private Integer	on_line_user;	//用户在线 0所以 1在线，2离线
	private String user_id_list;
	public String getPush_id() {
		return push_id;
	}
	public void setPush_id(String push_id) {
		this.push_id = push_id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getEdit_date() {
		return edit_date;
	}
	public void setEdit_date(Date edit_date) {
		this.edit_date = edit_date;
	}
	public Date getPush_date() {
		return push_date;
	}
	public void setPush_date(Date push_date) {
		this.push_date = push_date;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Date getDelay_date() {
		return delay_date;
	}
	public void setDelay_date(Date delay_date) {
		this.delay_date = delay_date;
	}
	public Integer getMessage_type() {
		return message_type;
	}
	public void setMessage_type(Integer message_type) {
		this.message_type = message_type;
	}
	public Integer getScope() {
		return scope;
	}
	public void setScope(Integer scope) {
		this.scope = scope;
	}
	public Date getReg_start_date() {
		return reg_start_date;
	}
	public void setReg_start_date(Date reg_start_date) {
		this.reg_start_date = reg_start_date;
	}
	public Date getReg_end_date() {
		return reg_end_date;
	}
	public void setReg_end_date(Date reg_end_date) {
		this.reg_end_date = reg_end_date;
	}
	public Integer getAccount_sex() {
		return account_sex;
	}
	public void setAccount_sex(Integer account_sex) {
		this.account_sex = account_sex;
	}
	public String getPush_user_id() {
		return push_user_id;
	}
	public void setPush_user_id(String push_user_id) {
		this.push_user_id = push_user_id;
	}
	public String getPush_operator() {
		return push_operator;
	}
	public void setPush_operator(String push_operator) {
		this.push_operator = push_operator;
	}
	public String getSys_code() {
		return sys_code;
	}
	public void setSys_code(String sys_code) {
		this.sys_code = sys_code;
	}
	public Integer getValid_flag() {
		return valid_flag;
	}
	public void setValid_flag(Integer valid_flag) {
		this.valid_flag = valid_flag;
	}
	public Integer getIs_push() {
		return is_push;
	}
	public void setIs_push(Integer is_push) {
		this.is_push = is_push;
	}
	public Integer getOn_line_user() {
		return on_line_user;
	}
	public void setOn_line_user(Integer on_line_user) {
		this.on_line_user = on_line_user;
	}
	public String getUser_id_list() {
		return user_id_list;
	}
	public void setUser_id_list(String user_id_list) {
		this.user_id_list = user_id_list;
	}
	
	
	
}
